package com.sls.game.dao.jpay;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.jieyitong.JieyitongAreaServerInfo;

public interface JpayAreaDAO {

	/**
	 * 插入区域信息
	 * 
	 * @param areaSrvInfo
	 */
	public void insert(JieyitongAreaServerInfo areaSrvInfo);

	/**
	 * 分页查询
	 * 
	 * @param nutsNetGoodsInfo
	 * @return
	 */
	public Pagination<JieyitongAreaServerInfo> queryPaginationList(
			JieyitongAreaServerInfo jInfo);

	/**
	 * 根据商品编号和区域代码查询
	 * 
	 * @param areaSrvInfo
	 * @return
	 */
	public JieyitongAreaServerInfo queryByGoodsIdAndAreaCode(
			JieyitongAreaServerInfo areaSrvInfo);

	/**
	 * 通过产品编码查询
	 * 
	 * @param goodsId
	 * @return
	 */
	public List<JieyitongAreaServerInfo> queryByGoodsId(String goodsId);

	public List<JieyitongAreaServerInfo> queryByGoodsIdAndAreaName(
			JieyitongAreaServerInfo areaSrvInfo);
}
